import {createRouter, createWebHistory, RouteRecordRaw} from "vue-router"

const routes: Array<RouteRecordRaw> = [
    {
        path: "/",
        name: "main",
        component: () => import("@/components/Main.vue")
    }, {
        path: "/file",
        name: "file",
        component: () => import("@/components/page/Files.vue")
    }, {
        path: "/material",
        name: "material",
        component: () => import("@/components/page/Material.vue")
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router